//
//  LMProductsCell.m
//  EPA
//
//  Created by lanou3g on 16/4/20.
//  Copyright © 2016年 liman. All rights reserved.
//

#import "LMProductsCell.h"
#import "LMProductModel.h"
#import "UIImageView+WebCache.h"
#import "LMBuyViewController.h"
@interface LMProductsCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;



@end

@implementation LMProductsCell

- (void)awakeFromNib {
}
-(void)layoutSubviews{
    NSURL *url = [NSURL URLWithString:self.model.coverimg];
    [self.iconImageView sd_setImageWithURL:url];
    self.titleLabel.text = self.model.title;
    
}



- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
